package com.za.wbw.model.shop;


public class UserInfo implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private int userId;
	private int shopId;
	private String userName;
	private String userAccount;
	private String userPassword;
	private int sexId;
	private String sexName;
	private String idCard;
	private int idCheck;
	
	public UserInfo(){
	}
	
	public int getShopId() {
		return shopId;
	}


	public void setShopId(int shopId) {
		this.shopId = shopId;
	}


	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserAccount() {
		return userAccount;
	}
	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public int getSexId() {
		return sexId;
	}

	public void setSexId(int sexId) {
		this.sexId = sexId;
	}

	public String getSexName() {
		if(getSexId() == 1){
			sexName = "男";
		}
		else if(getSexId() == 2){
			sexName = "女";
		}
		return sexName;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public int getIdCheck() {
		return idCheck;
	}

	public void setIdCheck(int idCheck) {
		this.idCheck = idCheck;
	}
}
